package com.xqboss.apps.enums.order;


import com.xqboss.common.enums.BaseEnum;

/**
 * 订单类型
 */
public enum OrderTypeEnum implements BaseEnum<Integer> {

    Recharge(1, "充值订单", Code.Recharge),
    Box_NFT(2, "单藏品盒子订单", Code.Box_NFT),
//    Airdrop(3, "空投订单"),
    Market(3, "市场订单", Code.Market),
    Gift(4, "礼物订单", Code.Gift),
    ;

    private final Integer value;
    private final String msg;
    private final String code;

    public final static class Code {
        public static final String Recharge = "Recharge";
        public static final String Box_NFT = "Box_NFT";
        public static final String Airdrop = "Airdrop";
        public static final String Market = "Market";
        public static final String Gift = "Gift";
    }

    OrderTypeEnum(Integer value, String description, String code) {
        this.value = value;
        this.msg = description;
        this.code = code;
    }

    public Integer getValue() {
        return value;
    }

    @Override
    public String getMsg() {
        return msg;
    }

    public String getCode() {
        return code;
    }
}
